/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, html, #app, .layout.sheep-theme {
  overflow: hidden !important;
}

.content.sheep-content {
  height: 100vh !important;
  overflow: auto !important;
  padding: 32px 16px 0 16px;
  background: #5e35b1 !important;
}
.layout.sheep-theme,
.sidebar,
.header.sheep-header,
.content.sheep-content {
  background: #5e35b1 !important;
}

#app {
  height: 100%;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 全局链接样式 */
a {
  text-decoration: none;
  color: inherit;
}

/* 全局按钮样式 */
button {
  border: none;
  outline: none;
  cursor: pointer;
}

/* 全局输入框样式 */
input, textarea {
  border: none;
  outline: none;
}

/* 响应式工具类 */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-16 {
  margin-bottom: 16px;
}

.mt-16 {
  margin-top: 16px;
  }

.ml-16 {
  margin-left: 16px;
}

.mr-16 {
  margin-right: 16px;
}

.p-16 {
  padding: 16px;
}

/* 动画类 */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
  }

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-enter-active,
.slide-leave-active {
  transition: transform 0.3s ease;
}

.slide-enter-from {
  transform: translateX(-100%);
  }

.slide-leave-to {
  transform: translateX(100%);
}

/* 主内容区和包裹层统一为深紫色 */
.content.sheep-content,
.content-wrapper,
.sheep-content-wrapper {
  background: #5e35b1 !important;
}

/* 卡片、表单、弹窗为白色带一点点透明 */
.ant-card,
.ant-card-body,
.auth-card,
.ant-modal-content {
  background: rgba(255,255,255,0.96) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06) !important;
  border: none !important;
}

/* 美化左上角 logo 区域 */
.logo {
  background: #ede7f6 !important; /* 高级紫色 */
  border-top-left-radius: 22px !important;
  border-top-right-radius: 22px !important;
  margin-bottom: 10px !important;
  box-shadow: 0 4px 24px 0 rgba(126,200,227,0.13), 0 1.5px 8px 0 rgba(168,182,255,0.10) !important;
  backdrop-filter: blur(6px) !important;
}
